gtk/gtkkineticscrolling.c: Include fallback-c89.c
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 6 Jun 2014 06:47:19 +0000 (14:47 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 6 Jun 2014 06:47:19 +0000 (14:47 +0800)
... as round() is being used, which is for C99 and later.  fallback-c89.c
includes math.h as well.

gtk/gtkkineticscrolling.c

index 62f05c45954a07a896dda68c9aeddf67fca69058..09619707ef5212a7b72e7b1f7b6fce1e8ce0b029 100644 (file)
 #include "config.h"
 #include "gtkkineticscrolling.h"
 
-#include <math.h>
 #include <stdio.h>
 
+#include "fallback-c89.c"
+
 /*
  * All our curves are second degree linear differential equations, and
  * so they can always be written as linear combinations of 2 base